package com.nulldev.util.java.swing.fastEPane;

import javax.swing.text.Element;
import javax.swing.text.View;
import javax.swing.text.html.BlockView;

public class FastBlockView extends BlockView {

    public FastBlockView(Element elem) {
        super(elem, View.Y_AXIS);
    }
 
    protected void layout(int width, int height) {
        //long start = System.currentTimeMillis();
        if (width < Integer.MAX_VALUE) {
            super.layout(width, height);
        }
       // long end = System.currentTimeMillis();
       // System.out.println("w=" + width + " h=" + height + " time=" + (end - start));
    }
}
